<template>
	<div>
		<div>电量：<span>{{ sku.cskur_real_power }}</span></div>
		<div>续航公里：<span>{{ sku.cskur_real_km }}</span></div>
		<div>用车密码：<span>{{ sku.csku_real_pwd }}</span></div>
		<div v-if="!hide_location">
			坐标：
			<Location v-if="sku.cskur_real_lng!=''" :lng="sku.cskur_real_lng" :lat="sku.cskur_real_lat" :x="sku.cskur_x_id"></Location>
		</div>
		<div v-if="sku.cskur_real_date">同步时间：<span>{{ sku.cskur_real_date.split(' ')[1] }}</span></div>
	</div>
</template>

<script>
	import Location from '@/views/app_wxapp/app_car/components/Location'

	export default {
		components: {
			Location
		},
		props: {
			hide_location: {
				type: Boolean,
				default: true
			},
			sku: {
				type: Object,
				default: () => {
					return {}
				}
			}
		},
		data() {
			let page_data = {}
			//
			return page_data
		},
		watch: {
			sku(new_val, old_val) {
			}
		},
		created() {
		},
		methods: {
			////////////////////////////////////
			////////////////////////////////////
			////////////////////////////////////
		}
	}
</script>
